﻿namespace Specifications.Views
{
    using Caliburn.Testability;
    using ChumChase.Model;
    using NUnit.Framework;
    using NUnit.Framework.SyntaxHelpers;
    using FeedView=ChumChase.Views.FeedView;

    [TestFixture]
    public class The_default_feed_view : BindingsTestBase
    {
        [Test]
        public void does_not_have_binding_errors()
        {
            ValidationResult<ApplicationModel> result = Validator.For<FeedView, ApplicationModel>()
                .Validate();

            Assert.That(result.HasErrors, Is.False, result.ErrorSummary);
        }
    }
}